Congruent melting and incongruent melting